using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace University.Models
{
    public class UniversityContext : DbContext
    {
        // You can add custom code to this file. Changes will not be overwritten.
        // 
        // If you want Entity Framework to drop and regenerate your database
        // automatically whenever you change your model schema, add the following
        // code to the Application_Start method in your Global.asax file.
        // Note: this will destroy and re-create your database with every model change.
        // 
         

        public DbSet<University.Models.Account> Accounts { get; set; }

        public DbSet<University.Models.Department> Departments { get; set; }

        public DbSet<University.Models.Document> Documents { get; set; }

        public DbSet<University.Models.Domain> Domains { get; set; }

        public DbSet<University.Models.Faculty> Faculties { get; set; }

        public DbSet<University.Models.Group> Groups { get; set; }

        public DbSet<University.Models.Mark> Marks { get; set; }

        public DbSet<University.Models.Professor> Professors { get; set; }

        public DbSet<University.Models.Schedule> Schedules { get; set; }

        public DbSet<University.Models.ScheduleItem> ScheduleItems { get; set; }

        public DbSet<University.Models.Subject> Subjects { get; set; }

        public DbSet<University.Models.User> Users { get; set; }
    }
}